import request from '@/utils/request'

export function codeArea(code) {
  return request({
    url: `/api/device/area/${code}`, 
    method: 'get'
  })
}

export function listArea() {
  return request({
    url: '/api/device/area/list', 
    method: 'get'
  })
}


